package hcn.protocol.brandnew.zhenliao.jianyan;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 检验样本类型获取-响应消息(成功) - ODS_03050003_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class LabRequestQuerySampletypeResponse {

    /**
     * 样本类型集合
     */
    @XmlElementWrapper(name = "Datalists")
    @XmlElement(name = "Datalist")
    private List<Datalist> datalists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class Datalist {

        /**
         * 标本类别代码
         */
        @XmlElement(name = "SampleTypeCode")
        private String sampleTypeCode;
        /**
         * 标本类别名称
         */
        @XmlElement(name = "SampleTypeName")
        private String sampleTypeName;
    }

}
